//    Copyright (C) Kherty.  All rights reserved.
namespace OpenLS.Spreadsheet
{
    partial class Cell
    {
        class VolativeValue
        {
            public VolativeValue(Cell cell)
            {
                this.cell = cell;
            }

            readonly Cell cell;
            ~VolativeValue()
            {
                    cell.Worksheet.Cells.RemoveDeadVolatileCell(cell);
                    //\\Debug.WriteLine("removing volatile cell " + cell.Label);
                
            }

        }
    }
}
